package me.zhengjie.modules.domain.enterprise;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.domain.BaseClass;
import me.zhengjie.modules.domain.EnterpriseDic;

import javax.persistence.Id;
import java.util.Date;
import java.util.List;

@Data
@TableName("enterprise_information")
public class EnterpriseInformation extends BaseClass {

    @Id
    private Long id;

    @ApiModelProperty(value = "曾用名")
    @TableField(value = "history_names")
    private String historyNames;

    @ApiModelProperty(value = "企业状态（经营状态)")
    @TableField(value = "reg_status")
    private String regStatus;

    @ApiModelProperty(value = "注销日期")
    @TableField(value = "cancel_date")
    private Date cancelDate;

    @ApiModelProperty(value = "注册资本")
    @TableField(value = "reg_capital")
    private String regCapital;

    @ApiModelProperty(value = "所属县级市")
    @TableField(value = "city")
    private String city;

    @ApiModelProperty(value = "人员规模")
    @TableField(value = "staff_num_range")
    private String staffNumRange;

    @ApiModelProperty(value = "行业")
    @TableField(value = "industry")
    private String industry;

    @ApiModelProperty(value = "曾用名集合")
    @TableField(value = "history_name_list")
    private String historyNameList;

    @ApiModelProperty(value = "股票号")
    @TableField(value = "bond_num")
    private String bondNum;

    @ApiModelProperty(value = "法人类型")
    @TableField(value = "type")
    private Integer type;

    @ApiModelProperty(value = "股票名")
    @TableField(value = "bond_name")
    private String bondName;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_times")
    private Date updateTimes;

    @ApiModelProperty(value = "吊销日期")
    @TableField(value = "revoke_date")
    private Date revokeDate;

    @ApiModelProperty(value = "法人")
    @TableField(value = "legal_person_name")
    private String legalPersonName;

    @ApiModelProperty(value = "吊销原因")
    @TableField(value = "revoke_reason")
    private String revokeReason;

    @ApiModelProperty(value = "注册号")
    @TableField(value = "reg_number")
    private String regNumber;

    @ApiModelProperty(value = "英文名")
    @TableField(value = "property3")
    private String property3;

    @ApiModelProperty(value = "社会信用代码")
    @TableField(value = "credit_code")
    private String creditCode;

    @ApiModelProperty(value = "股票曾用名")
    @TableField(value = "used_bond_name")
    private String usedBondName;

    @ApiModelProperty(value = "经营开始时间")
    @TableField(value = "from_time")
    private Date fromTime;

    @ApiModelProperty(value = "核准时间")
    @TableField(value = "approved_time")
    private Date approvedTime;

    @ApiModelProperty(value = "参保人数")
    @TableField(value = "social_staff_num")
    private Integer socialStaffNum;

    @ApiModelProperty(value = "简称")
    @TableField(value = "alias")
    private String alias;

    @ApiModelProperty(value = "企业类型")
    @TableField(value = "company_org_type")
    private String companyOrgType;

    @ApiModelProperty(value = "实收注册资本币种 人⺠币 美元 欧元 等")
    @TableField(value = "actual_capital_currency")
    private String actualCapitalCurrency;

    @ApiModelProperty(value = "天眼查-企业id")
    @TableField(value = "eye_id")
    private Long eyeId;

    @ApiModelProperty(value = "组织机构代码")
    @TableField(value = "org_number")
    private String orgNumber;

    @ApiModelProperty(value = "注销原因")
    @TableField(value = "cancel_reason")
    private String cancelReason;

    @ApiModelProperty(value = "经营结束时间")
    @TableField(value = "to_time")
    private Date toTime;

    @ApiModelProperty(value = "邮箱")
    @TableField(value = "email")
    private String email;

    @ApiModelProperty(value = "实收注册资金")
    @TableField(value = "actual_capital")
    private String actualCapital;

    @ApiModelProperty(value = "成立日期（注册日期）")
    @TableField(value = "estiblish_time")
    private Date estiblishTime;

    @ApiModelProperty(value = "登记机关")
    @TableField(value = "reg_institute")
    private String regInstitute;

    @ApiModelProperty(value = "纳税人识别号")
    @TableField(value = "tax_number")
    private String taxNumber;

    @ApiModelProperty(value = "经营范围")
    @TableField(value = "business_scope")
    private String businessScope;

    @ApiModelProperty(value = "注册地址")
    @TableField(value = "reg_location")
    private String regLocation;

    @ApiModelProperty(value = "注册资本币种 人⺠币 美元 欧元 等")
    @TableField(value = "reg_capital_currency")
    private String regCapitalCurrency;

    @ApiModelProperty(value = "企业标签")
    @TableField(value = "tags")
    private String tags;

    @ApiModelProperty(value = "网址")
    @TableField(value = "website_list")
    private String websiteList;

    @ApiModelProperty(value = "企业联系方式")
    @TableField(value = "phone_number")
    private String phoneNumber;

    @ApiModelProperty(value = "区")
    @TableField(value = "district")
    private String district;

    @ApiModelProperty(value = "企业名")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "股票类型")
    @TableField(value = "bond_type")
    private String bondType;

    @ApiModelProperty(value = "企业评分")
    @TableField(value = "percentile_score")
    private String percentileScore;

    @ApiModelProperty(value = "是否是小微企业 0不是 1是")
    @TableField(value = "is_micro_ent")
    private Integer isMicroEnt;

    @ApiModelProperty(value = "省份简称")
    @TableField(value = "base")
    private String base;

    @ApiModelProperty(value = "企业员工总人数")
    @TableField(value = "per_total")
    private Long perTotal;

    @ApiModelProperty(value = "国⺠经济行业分类  中-大-门-小类")
    @TableField(value = "industry_all")
    private Long industryAll;

    @ApiModelProperty(value = "批次号")
    @TableField(value = "batch_id")
    private Long batchId;

    @ApiModelProperty(value = "公司id")
    @TableField(value = "companies_id")
    private Long companiesId;

    @TableField(exist = false)
    private List<EnterpriseTax> tax;

    @TableField(exist = false)
    private List<EnterprisePersonnelInformation> employees;

    private List<EnterpriseDic> dicList;
}
